package com.zhangjie.servicemap.controller;

import com.zhangjie.internalcommon.dto.ResponseResult;
import com.zhangjie.servicemap.service.DicDistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: zj
 * @Date: 2024/2/17 - 02 - 17 - 22:44
 * @Description: com.zhangjie.servicemap.controller
 * @version: 1.0
 */
@RestController
public class DicDistrictController {

    @Autowired
    private DicDistrictService dicDistrictService;

    @GetMapping("/dic-district")
    public ResponseResult initDicDistrict(String keywords){

        return dicDistrictService.initDicDistrict(keywords);
    }
}
